package org.xtetris;

import javax.microedition.lcdui.Font;

public interface Constants {
	public final static int COLOR_BLACK = 0;
	public final static int COLOR_WHITE = 0xffffff;
	public final static int COLOR_RED = 0xff0000;
	public final static int COLOR_GREEN = 0xff00;
	public final static int COLOR_BLUE = 0xff;
	public final static int COLOR_GRAY = 0x808080;
	public final static int COLOR_DARK_GRAY = 0x404040;
	
	public final static int KEY_NONE = 0;
	public final static int KEY_LEFT = 1 << 0;
	public final static int KEY_RIGHT = 1 << 1;
	public final static int KEY_UP = 1 << 2;
	public final static int KEY_DOWN = 1 << 3;
	public final static int KEY_POUND = 1 << 4;
	public final static int KEY_STAR = 1 << 5;
	public final static int KEY_0 = 1 << 6;
	public final static int KEY_1 = 1 << 7;
	public final static int KEY_2 = 1 << 8;
	public final static int KEY_3 = 1 << 9;
	public final static int KEY_4 = 1 << 10;
	public final static int KEY_5 = 1 << 11;
	public final static int KEY_6 = 1 << 12;
	public final static int KEY_7 = 1 << 13;
	public final static int KEY_8 = 1 << 14;
	public final static int KEY_9 = 1 << 15;
	public final static int KEY_FIRE = 1 << 16;

	public final static int KEY_LEFT_SOFT = 1 << 17;
	public final static int KEY_RIGHT_SOFT = 1 << 18;
	
	public final static String TEXT_XTETRIS_TITLE = "XTetris";
	public final static String TEXT_ME = "Liang chen";
	public final static String TEXT_EMAIL = "chenliangdeyouxiang@hotmail.com";
	
	public final static Font FONT_TITLE = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_BOLD, Font.SIZE_LARGE);
	public final static Font FONT_ME = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_PLAIN, Font.SIZE_SMALL);
	public final static Font FONT_EMAIL = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_PLAIN, Font.SIZE_SMALL);
	
	public final static Font FONT_MENU = Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_PLAIN, Font.SIZE_MEDIUM);
}
